package com.contract.spirit.ui.invite

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
import com.contract.spirit.R
import com.contract.spirit.bean.entity.InviteUserInfo
import com.contract.spirit.databinding.AdapterMyInviteUserItemBinding

/**
 * @author: witness
 * created: 2021/9/28
 * desc:
 */
class MyInviteUserAdapter :
    BaseQuickAdapter<InviteUserInfo, BaseDataBindingHolder<AdapterMyInviteUserItemBinding>>(
        R.layout.adapter_my_invite_user_item,
        ArrayList()
    ) {
    override fun convert(
        holder: BaseDataBindingHolder<AdapterMyInviteUserItemBinding>,
        item: InviteUserInfo
    ) {
        holder.dataBinding?.item = item
    }
}